<?php

namespace app\wechat\controller;

use think\Controller;
use EasyWeChat\Factory;

class Base extends Controller
{
    /**
     * Application
     *
     * @var \EasyWeChat\OfficialAccount\Application
     */
    public $app;
    protected function _initialize()
    {
        $this->app = Factory::officialAccount(config('wechat'));
    }
}
